package com.chaoyi.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.PortraitVideo;

public interface PortraitVideoService {

	List<PortraitVideo> findList(String offset, String limit);

	int addVideoSave(PortraitVideo portraitVideo);

	String uploadClassifyImg2WSCDN(Part uploadFile) throws IOException, Exception;

	String uploadClassifyVideo2WSCDN(Part uploadFile) throws IOException, Exception;

	PortraitVideo findVideoOne(int id);

	int alertVideoSave(PortraitVideo entity);

	int deleteVideo(int id);

	int findCount();

}